The Photo control will allow your user to view, edit, delete, and upload a picture to the e-Business website. The photo is stored in the back office, and displayed on this control. As of 7.5.0, the default image file delivered with base that will be used if the customer has not uploaded an image is located in ..\Themes\PersonifyDefault\PhotoControl folder and is delivered as part of the standard Personify skin.
See Adding/Changing a Constituent's Image in CRM360® for more information on how to setup the image service.
In version prior to 7.5.2, the file size limit that can be uploaded was 200 KB. As of 7.5.2, there is no file size limitation; however, there is a limitation on the data services side, which handles the requests, for ANY request, including file upload. Data services defaults to 4 MB and if a web user tries to upload a file that exceeds this, the Photo control will display an error message. In order to change this default for data services, you would need to change the settings in the web.config for the data services. In addition, the only file types that can be uploaded using this control are .jpeg, .jpg, .gif, and .png. This can be customized.
See Configuring
the Web Settings for the Photo Control for more information on how
to drop this control onto a page on your e-Business website. The Photo
control does not require any additional back office configuration. All
data displayed in this control is based off your user information.
The File Download service operation can work over HTTPS protocol only if HTTPS is set up for both the .NET web controls and data services solutions. When only one side, either the .NET web controls or data services has HTTPS set up, file download will NOT work correctly.
After setting up the Photo control, your users will see the control
similar to the one displayed below. The default image that will display
when the customer has not uploaded an image is defined in the control's
web settings.
Web users can point to the information icon to display the following tooltip:
If the user clicks Add (if no photo has been
uploaded) or Edit (if
a photo has already been uploaded), the Edit Photo screen displays,
as shown below. In order for the user to upload or edit an existing photo,
he/she has to select Choose a File. The Open
window displays. Next, the user clicks Upload,
and finally, he/she clicks Save. The picture
is uploaded to the user's profile. If the user clicks Cancel,
the image does not get uploaded and the picture is defaulted to the default
image.